<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh">
 <head>
  <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
  <meta content="2018-10-23T06:18:10.521000000" name="created"/>
  <meta content="2023-12-12T09:31:24" name="changed" translator="gocpicnic"/>
  <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
  <meta content="zh" http-equiv="Content-Language"/>
  <title>
   <!-- Pin -->
   引脚
  </title>
  <link href="../../style.css" rel="stylesheet" type="text/css"/>
 </head>
 <body>
  <div class="maindiv">
   <h1>
    <img alt="#########" class="iconlibs" height="32" src="../../../../icons/6464/pininput.png" width="32"/>
    <img alt="#########" class="iconlibs" height="32" src="../../../../icons/6464/pinoutput.png" width="32"/>
    <!-- <em>Pin</em> -->
    <em>
     引脚
    </em>
   </h1>
   <table>
    <tbody>
     <tr>
      <td>
       <!-- <strong>Library:</strong> -->
       <strong>
        库:
       </strong>
      </td>
      <td>
       <!-- <a href="index.html">Wiring</a> -->
       <a href="index.html">
        线路
       </a>
      </td>
     </tr>
     <tr>
      <td>
       <!-- <strong>Introduced:</strong> -->
       <strong>
        介绍:
       </strong>
      </td>
      <td>
       2.0 Beta 1 (in Base library, moved to Wiring in 2.7.0)
      </td>
     </tr>
     <tr>
      <td valign="top">
       <!-- <strong>Appearance:</strong> -->
       <strong>
        外观符号:
       </strong>
      </td>
      <td valign="top">
       <table>
        <tbody>
         <tr>
          <th>
          </th>
          <th colspan="2">
           <!-- Arrow -->
           箭头形状
          </th>
          <th colspan="2">
           <!-- Classic -->
           经典形状
          </th>
          <th>
          </th>
         </tr>
         <tr>
          <th align="left" valign="middle">
           <!-- Pin in: -->
           输入引脚
          </th>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/pinin1.png" width="64"/>
          </td>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/pinin3.png" width="64"/>
          </td>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/lpinin1.png" width="64"/>
          </td>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/lpinin3.png" width="64"/>
          </td>
         </tr>
         <tr>
          <th align="left" valign="middle">
           <!-- Pin out: -->
           输出引脚
          </th>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/pinout1.png" width="64"/>
          </td>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/pinout3.png" width="64"/>
          </td>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/lpinout1.png" width="64"/>
          </td>
          <td>
           <img alt="#########" class="appearancelibs" height="64" src="../../../../img-libs/lpinout3.png" width="64"/>
          </td>
         </tr>
        </tbody>
       </table>
      </td>
     </tr>
    </tbody>
   </table>
   <h2>
    <!-- Behavior -->
    行为
   </h2>
   <p>
    <!-- A pin is an output or an input to a circuit, depending on the value of its <b class="propertie">Output?</b> attribute. You can observe above how Logisim represents input and or output pins according to its <b class="propertie">Appearance</b> attribute.<br> In the "arrow" mode the inputs will have the connection on the pointed side and the outputs on the rectangular side. In the "classic" appearance the outputs are represented by a circle or rounded rectangle, and the input pins are represented using squares or rectangles.<br> In all case, the individual bits of the value being sent or received is displayed within the component (except within printer view, when the component only says how many bits wide the pin is -->
    引脚是电路的输出还是输入，具体取决于其
    <b class="propertie">
     输出?
    </b>
    属性的值。 您可以在上面观察 Logisim-evolution 如何根据其
    <b class="propertie">
     外观
    </b>
    属性来表示输入和/或输出引脚。
    <br/>
    在“箭头”模式下，输入将在尖头侧进行连接，而输出在矩形边上进行连接。 在“经典”外观中，输出用圆形或圆角矩形表示，输入引脚用正方形或矩形表示。
    <br/>
    在所有情况下，发送或接收的值的各个位都显示在组件内 （除了在打印机视图中，当组件仅表示引脚有多少位宽时
   </p>
   <p>
    <!-- A pin is a convenient component for interacting with a circuit, and beginning Logisim users need not use them in any other way. But a user building a circuit using several subcircuits (as described in the <a class="refguide" href="../../guide/subcirc/index.html">Subcircuits</a>' section of the section of the <a href="../index.html">User guide</a>. will use pins also to specify the interface between a circuit and a subcircuit. In particular, a circuit layout's pin components define the pins that appear on the subcircuit component when the layout is used within another circuit. In such a circuit, the values sent and received to those locations on the subcircuit component are tied to the pins within the subcircuit layout. -->
    引脚是与电路交互的便捷组件，Logisim-evolution 新手用户不需要以任何其他方式使用它们。 但是用户使用多个子电路构建电路（如
    <a href="../index.html">
     用户指南
    </a>
    。还将使用引脚来指定电路和子电路之间的接口。特别是，电路布局的引脚组件定义了出现在 当布局在另一个电路中使用时，子电路组件。在这样的电路中，发送和接收到子电路组件上的这些位置的值被绑定到子电路布局内的引脚。
   </p>
   <h2>
    <!-- Pins -->
    引脚
   </h2>
   <p>
    <!-- A pin component has only one pin, which will be an input to the component if the pin is an output pin, and it will be an output to the component if the pin is an input pin. In either case, its bit width matches the Data Bits attribute, and its location is specified by the Facing attribute. -->
    一个引脚元件只有一个引脚，如果该引脚是输出引脚，则该引脚将是该元件的输入；如果该引脚是输入引脚，则该引脚将是该元件的输出。 无论哪种情况，其位宽度都与数据位属性相匹配，并且其朝向由方向属性指定。
   </p>
   <h2>
    <!-- Attributes -->
    属性
   </h2>
   <p>
    <!-- When the component is selected or being added, <b class="tkeybd">Alt-0</b> through <b class="tkeybd">Alt-9</b> alter its <b class="propertie">Data Bits</b> attribute. Quick use of the keys allows the entry of larger values for example <b class="tkeybd">ALT-1 ALT-2</b> gives 12. The arrow keys alter its <b class="propertie">Facing</b> attribute. -->
    选择或添加元件时，
    <b class="tkeybd">
     Alt-0
    </b>
    到
    <b class="tkeybd">
     Alt-9
    </b>
    会更改其
    <b class="propertie">
     数据位
    </b>
    属性。 快速使用按键可以输入更大的值，例如
    <b class="tkeybd">
     ALT-1 ALT-2
    </b>
    给出12。箭头键改变其
    <b class="propertie">
     方向
    </b>
    属性。
   </p>
   <div class="attliste">
    <dl>
     <dt>
      <!-- <b class="propertie">Facing</b> -->
      <b class="propertie">
       方向
      </b>
     </dt>
     <dd>
      <!-- The side of the component where its input/output pin should be. -->
      元件输入/输出引脚所在的一侧。
     </dd>
     <dt>
      <!-- <b class="propertie">Output?</b> -->
      <b class="propertie">
       输出?
      </b>
     </dt>
     <dd>
      <!-- Specifies whether the component is an output pin or an input pin. <b class="note">Note :</b> If the pin component is an input pin, then the pin that acts as its interface within the circuit will be an output, and vice versa.) -->
      指定元件是输出引脚还是输入引脚。
      <b class="note">
       注意：
      </b>
      如果引脚元件是输入引脚，则在电路中充当其接口的引脚将是输出，反之亦然。）
     </dd>
     <dt>
      <!-- <b class="propertie">Data Bits</b> -->
      <b class="propertie">
       数据位
      </b>
     </dt>
     <dd>
      <!-- The number of bits for the value that the pin handles. -->
      引脚处理的值的位数。
     </dd>
     <dt>
      <!-- <b class="propertie">Three-state?</b> -->
      <b class="propertie">
       三态?
      </b>
     </dt>
     <dd>
      <!-- For an input pin, this configures whether the user can instruct the pin to emit unspecified (i.e., floating) values. The attribute deals with the user interface only; it does not have any effect on how the pin behaves when the circuit layout is used as a subcircuit. For an output pin, the attribute has no effect. -->
      对于输入引脚，该属性会让输入值由0、1二种变为0、1、U三种。 该属性仅处理用户界面； 当电路布局用作子电路时，它对引脚的行为没有任何影响。 对于输出引脚，该属性没有影响。
     </dd>
     <dt>
      <b class="propertie">
       Pull Behavior
      </b>
     </dt>
     <dd>
      <!-- For an input pin, the attribute specifies how floating values should be treated when received as an input, perhaps from a circuit using the layout as a subcircuit. With "unchanged," the floating values are sent into the layout as floating values; with "pull up," they are converted into 1 values before being sent into the circuit layout; and with "pull down," they are converted into 0 values before being sent into the circuit layout. -->
      对于输入引脚，该属性指定当作为输入接收时（可能来自使用布局作为子电路的电路）应如何处理浮动值。 使用“unchanged”时，浮动值将作为浮动值发送到布局中； 当是“上拉”时，它们在发送到电路布局之前被转换为 1 值； 当是“下拉”，它们在发送到电路布局之前会被转换为 0 值。
     </dd>
     <dt>
      <!-- <b class="propertie">Label</b> -->
      <b class="propertie">
       标签
      </b>
     </dt>
     <dd>
      <!-- The text within the label associated with the component. -->
      与元件关联的标签内的文本,注意标签的文本：必须以字母开头，只能包含字符[a-Za-Z_0-9]，不能包含多个连接的“_”，不能以“_”结尾，不能是保留的 VHDL 关键字，不能是保留的 Verilog 关键字。
     </dd>
     <dt>
      <!-- <b class="propertie">Label Font</b> -->
      <b class="propertie">
       标签文本
      </b>
     </dt>
     <dd>
      <!-- The font with which to render the label. -->
      设置标签的字体相关属性
     </dd>
     <dt>
      <!-- <b class="propertie">Radix</b> -->
      <b class="propertie">
       基数
      </b>
     </dt>
     <dd>
      <!-- Allows you to define the base in which the values will be represented.<br> -->
      允许您定义表示值的基数。
      <br/>
      <!-- Example for 1010 in binary<br> -->
      二进制 1010 的示例
      <br/>
      Binary :
      <b>
       1010
       <sub>
        b
       </sub>
      </b>
      <br/>
      Octal :
      <b>
       12
       <sub>
        o
       </sub>
      </b>
      <br/>
      Signed decimal :
      <b>
       -6
       <sub>
        s
       </sub>
      </b>
      <br/>
      Unsigned deciaml :
      <b>
       10
       <sub>
        u
       </sub>
      </b>
      <br/>
      Hexadecimal :
      <b>
       A
       <sub>
        h
       </sub>
      </b>
      <br/>
      <!-- &emsp;Float&emsp;: <b>1.4E-44<sub>f</sub> </b> Only in 32 or 64 bits 1 or 0. If not present the value <b>NaN<sub>f</sub></b> <br> -->
      Float :
      <b>
       1.4E-44
       <sub>
        f
       </sub>
      </b>
      仅在 32 或 64 位中有值
      <b>
       NaN
       <sub>
        f
       </sub>
      </b>
      <br/>
     </dd>
     <dt>
      <!-- <b class="propertie">&nbsp;Appearence</b> -->
      <b class="propertie">
       行为
      </b>
     </dt>
     <dd>
      <!-- There are two types of appearance, CLassic Logisim and Arrow Shapes. See the examples at the top of the page -->
      有两种外观类型：经典 Logisim 和箭头形状。 请参阅页面顶部的示例
     </dd>
    </dl>
   </div>
   <h2>
    <!-- Poke Tool Behavior -->
    Poke 工具行为
   </h2>
   <p>
    <!-- Clicking an output pin has no effect, although the pin's attributes will be displayed. -->
    使用Poke工具单击输出引脚没有任何效果。
   </p>
   <p>
    <!-- Clicking an input pin will toggle the bit that is clicked. If it is a three-state pin, then the corresponding bit will rotate between the three states.<br>	If the base is FLoat a small input screen will be displayed. -->
    单击输入引脚将切换所单击的位。 如果是三态引脚，则相应的位将在三种状态之间轮换。
    <br/>
    如果基数为 FLoat，则会显示一个小输入对话框。
   </p>
   <p>
    <!-- If, however, the user is viewing the state of a subcircuit as described in the `<a href="../../guide/subcirc/sub-debug.html">Debugging Subcircuits</a>' of the <em>User's Guide</em>, then the pin's value is pinned to whatever value the subcircuit is receiving from the containing circuit. The user cannot change the value without breaking this link between the subcircuit's state and the containing circuit's state, and Logisim will prompt the user to verify that breaking this link is actually desired. -->
    但是，如果用户正在查看子电路的状态，如
    <a href="../../guide/subcirc/sub-debug.html">
     调试子电路
    </a>
    在
    <em>
     用户指南
    </em>
    中所述，然后引脚的值将固定为子电路从包含电路接收的任何值。 在不破坏子电路状态和包含电路状态之间的链接的情况下，用户无法更改该值，Logisim-evolution 将提示用户验证是否确实需要破坏此链接。
   </p>
   <h2>
    <!-- Text Tool Behavior -->
    文本工具行为
   </h2>
   <p>
    <!-- Allows the label associated with the component to be edited. -->
    允许编辑与元件关联的标签。
   </p>
   <p>
    <!-- <b>Back to</b> <a href="../index.html">Library Reference</a> -->
    <b>
     返回
    </b>
    <a href="../index.html">
     电路元件库参考手册
    </a>
   </p>
  </div>
 </body>
</html>
